package com.logisticsrepair.service;

import com.logisticsrepair.entity.ApplyMaterialEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huahua
 * @description 针对表【apply_material(申报材料)】的数据库操作Service
 * @createDate 2022-03-30 18:58:39
 */
public interface ApplyMaterialService extends IService<ApplyMaterialEntity> {

    /**
     * 根据订单号，查询材料申报订单信息
     *
     * @param orderId
     * @return
     */
    List<ApplyMaterialEntity> queryOrderMaterialInfo(String orderId);

    /**
     * 查询用户待缴费订单信息
     *
     * @param userOpenid 用户id
     * @return
     */
    List<ApplyMaterialEntity> queryUserWaitChargeOrder(@Param("userOpenid") String userOpenid);

    /**
     * 查询待支付订单
     *
     * @param applyId    支付单号
     * @return
     */
    List<ApplyMaterialEntity> queryWaitPayOrderByApplyIdAs(List<String> applyId);
}
